package com.devops.admin.po;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * ClassName DOSWebhookCustomInfoPo
 * Description TODO
 * Author heyabo
 * Date 2022/11/17 15:19
 * Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder(toBuilder = true)
public class DOSWebhookCustomInfoPo implements Serializable {

    private Integer id;
    private Integer isDel;
    private LocalDateTime updateTime;
    private LocalDateTime createTime;
    /**
     * webhook的id
     **/
    private Integer webhookId;
    /**
     * 集群id
     **/
    private String clusterIds;
    /**
     * 消息发送的模板
     **/
    private String msgTemplate;

    private String webhook;

    private String title;

    private String secret;

    private Integer type;

    /**
     * 发送消息的过滤类型
     **/
    private String filterType;

    /**
     * 发送消息的格式 1：合并发送 2：单条发送
     **/
    private Integer sendType;
}
